﻿#include "MCUCodec.h"

MCUCodec::MCUCodec()
{
  transmitList.append(true);//SetInterval_MEMSData
  transmitList.append(true);//SetInterval_TurnTableState
}

MCUCodec::~MCUCodec()
{

}

uchar MCUCodec::getType(QByteArray data)
{
  return (uchar)data.at(0);
}

bool MCUCodec::needTransmit(uchar type)
{
  return transmitList.at(type);
}
